xen: arm: tweak arm64 stack frame layout
authorIan Campbell <ian.campbell@citrix.com>
Mon, 29 Jul 2013 12:20:50 +0000 (13:20 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 29 Jul 2013 15:54:49 +0000 (16:54 +0100)
commit5b6c454fdff13428707c6f8366791fa34f433c97
tree21fcdbfc1d6cd538d7de347e2163c357e0a50b88
parent225ece46211328723a79f13152cb904c0b0f38b2
xen: arm: tweak arm64 stack frame layout

Correct definition of UREGS_kernel_sizeof and use it.

Correct adjustment of stack on entry and exit.

Add 64-bit versions of the build time checks for stack pointer alignment
correctness when pushing the stack frames.

Lastly, correct the padding in the stack frames to properly align the inner and
outer frames and also avoid an unnecessary 64bit padding field.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/arm/arm64/asm-offsets.c
xen/arch/arm/arm64/entry.S
xen/arch/arm/domain.c
xen/arch/arm/traps.c
xen/include/asm-arm/arm64/processor.h